#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QString>
#include<QPushButton>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
signals://自定义信号，只声明，不定义
    void  mysignals(QString &text);

private  slots:
    void on_pushButton_clicked();
    void handleclicked(QString &test);

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
